package com.film.domain;

import java.util.List;

/**
 * 该类用来存放某个用户的订单信息
 * 每一次下单的订单，整理好后会用该类来保存
 * @author 18710
 * 6.12  13.18
 */
public class UserOrder {
	
	private User user; //用户
	
	private FilmShowings showings; //电影场次信息
	
	private String orderNum; //订单编号
	
	private String date; //订单创建日期
	
	private String time; //订单创建时间
	
	private String datetime; //订单创建日期时间
	
	private FilmOffice office; //订单所在的厅信息
	
	private Integer orderFlag; //订单状态信息
	
	private List<FilmSeat> seats; //订单所包含的所有座位

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public FilmShowings getShowings() {
		return showings;
	}

	public void setShowings(FilmShowings showings) {
		this.showings = showings;
	}

	public Integer getOrderFlag() {
		return orderFlag;
	}

	public void setOrderFlag(Integer orderFlag) {
		this.orderFlag = orderFlag;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getDatetime() {
		return datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public FilmOffice getOffice() {
		return office;
	}

	public void setOffice(FilmOffice office) {
		this.office = office;
	}

	public List<FilmSeat> getSeats() {
		return seats;
	}

	public void setSeats(List<FilmSeat> seats) {
		this.seats = seats;
	}

	@Override
	public String toString() {
		return "UserOrder [user=" + user + ", showings=" + showings + ", orderNum=" + orderNum + ", date=" + date
				+ ", time=" + time + ", datetime=" + datetime + ", office=" + office + ", orderFlag=" + orderFlag
				+ ", seats=" + seats + "]";
	}

	
}
